package day7;

public class Bee extends AbstractInse implements IFly{
	@Override
	public void spawning() {
		System.out.println("蜜蜂会产卵");
	}
	
	@Override
	public void fly() {
		System.out.println("蜜蜂会飞");
	}
	
	public static void dance() {
		System.out.println("蜜蜂会跳舞");
	}
	public static void main(String[] args) {
		AbstractInse abstractInse = new Bee();
		abstractInse.spawning();
		
		IFly iFly = new Bee();
		iFly.fly();
		
		Bee bee = new Bee();
		bee.fly();
		bee.spawning();
		bee.dance();
		
	}
}
